<?php
error_reporting(E_ALL ^ E_NOTICE);

set_include_path('.' . PATH_SEPARATOR . 
	'../lib' . PATH_SEPARATOR .
	'../app/modules' . PATH_SEPARATOR .
	'../app/models' . PATH_SEPARATOR .
	'../app/controllers' . PATH_SEPARATOR .
	get_include_path());
	
define(lib_path, '../lib');
define(app_path, '../app');
define(modules_path, '../app/modules');
	
require_once "loader/loader.class.php";
qLoader::Init();
// $appconfig = qConfig::LoadIni(app_path . 'config.ini');
// qLoader::LoadLibrary("register");
// qRegistry::Store('config', $appconfig);
qFront::SetBaseDir('/qcode');
qFront::Run();